﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using iBuproModel.Repositories;

namespace IBupro.Models.Classes
{
    /// <summary>
    ///  Base class for all view models
    /// </summary>
    public class CustomModel
    {
        protected IRepositoryService repositoryService;

        /// <summary>
        /// Creates repository service instance for all inherited classes
        /// </summary>
        public CustomModel()
        {
            this.repositoryService = new RepositoryService();
        }
    }
}